{extend name="common/base" /}
{block name="title"}商品详情{/block}
{block name="main"}
<!-- Navigation -->
<link href="/ad/css/select.css" rel='stylesheet' type='text/css' />
<div id="page-wrapper">
    <div class="col-md-12 graphs">
      <div class="xs">
        <h3>商品详情</h3>
      <div class="bs-example4" data-example-id="simple-responsive-table">
        <div class="table-responsive">
          <table class="table table-bordered">
            <tbody>
              <tr>
                <td>商品标题</td>
                <td colspan="3">{$res['goods_title']}&nbsp;{$res['goods_brand']}</td>
                <td rowspan="2" style="line-height: 70px;">商品图片</td>
                <td rowspan="2"><img src="{$res['goods_image']}" alt="" width="60px"></td>
              </tr>
              <tr>
                <td>商品分类</td>
                <td>{$t1['goods_type_name']}</td>
                <td>二级分类</td>
                <td>{$t2['goods_type_name']}</td>
              </tr>
              <tr>
                <td>商品库存</td>
                <td>{$res['goods_repertory']}</td>
                <td>添加时间</td>
                <td>{$res['goods_addtime']|date='Y-m-d',###}</td>
                <td>商品价格</td>
                <td>{$res['goods_price']}</td>
              </tr>
              <tr>
                <td>参与活动</td>
                <td>{$res['goods_isactivity']?'是':'否'}</td>
                <td>活动价格</td>
                <td>{$res['goods_isactivity']?$res_d['goods_discounts']:'暂无'}</td>
                <td>原料产地</td>
                <td>{$res_d['goods_materials_place']}</td>
              </tr>
              <tr>
                <td>生产产地</td>
                <td>{$res_d['goods_production']}</td>
                <td>配料表</td>
                <td>{$res_d['goods_burdening']}</td>
                <td>生产规格</td>
                <td>{$res_d['goods_standard']}</td>
              </tr>
              <tr>
                <td>保质期</td>
                <td>{$res_d['goods_date']}天</td>
                <td>产品标准号</td>
                <td>{$res_d['goods_product_number']}</td>
                <td>生产许可证</td>
                <td>{$res_d['goods_production_certificate']}</td>
              </tr>
              <tr>
                <td>储存方法</td>
                <td>{$res_d['goods_reserve']}</td>
                <td>食用方法</td>
                <td>{$res_d['goods_edible']}</td>
                <td>商品类型</td>
                <td>{$res_d['goods_type']}</td>
              </tr>
              <tr>
                <td colspan="6">商品详情</td>
              </tr>
              <tr>
                <td colspan="6">{$res_d['goods_content']}</td>
              </tr>
            </tbody>
          </table>
        </div><!-- /.table-responsive -->
      </div>
    </div>
  </div>

    <!-- /#wrapper -->
    <!-- Nav CSS -->
    <link href="/ad/css/custom.css" rel="stylesheet">
    <!-- Metis Menu Plugin JavaScript -->
    <script src="/ad/js/metisMenu.min.js"></script>
    <script src="/ad/js/custom.js"></script>
{/block}


